# frozen_string_literal: true

module Types
  class VulnerabilitySortEnum < BaseEnum
    graphql_name 'VulnerabilitySort'
    description 'Vulnerability sort values'

    value 'severity_desc', 'Severity in descending order.'
    value 'severity_asc', 'Severity in ascending order.'
    value 'detected_desc', 'Detection timestamp in descending order.'
    value 'detected_asc', 'Detection timestamp in ascending order.'
  end
end
